From: Keir Fraser Date: Wed, 19 Aug 2009 16:00:26 +0000 (+0100) Subject: x86: Fix arch/x86/xen.lds dependencies. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13452 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=361c9826391a8f512e5ca3211feae927f8ee5cce;p=xen.git x86: Fix arch/x86/xen.lds dependencies. gcc can get the dependency target name wrong (appends .o). Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile index a27e4bad5d..8c3809213e 100644 --- a/xen/arch/x86/Makefile +++ b/xen/arch/x86/Makefile @@ -84,6 +84,8 @@ asm-offsets.s: $(TARGET_SUBARCH)/asm-offsets.c xen.lds: xen.lds.S $(CC) -P -E -Ui386 $(AFLAGS) -o $@ $< + sed -e 's/xen\.lds\.o:/xen\.lds:/g' <.xen.lds.d >.xen.lds.d.new + mv -f .xen.lds.d.new .xen.lds.d boot/mkelf32: boot/mkelf32.c $(HOSTCC) $(HOSTCFLAGS) -o $@ $<